﻿<!-- Copyright (c) Adam Nathan.  All rights reserved.
     By purchasing the book that this source code belongs to, you may use and modify this code for commercial and non-commercial applications, but you may not publish the source code.
     THE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES OR INDEMNITIES. -->
<UserControl x:Class="V5_PhoneLibs.Controls.PaginatedDocument"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}">
  <Canvas>
    <!-- Contains the lines of text -->
    <StackPanel x:Name="StackPanel" Margin="0,-6,0,0"/>
    <!-- Used for measurements -->
    <TextBlock x:Name="MeasuringTextBlock"/>
  </Canvas>
</UserControl>